const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer: {
    proxy: {
      '/api': {
        target:'http://localhost:9000',
        changeOrigin:true,
        pathRewrite:{  // 路径重写，
          '^/api': ''
        }
      }
    },
  }
})
